package com.qdlc.p2p.biz.service;

import com.qdlc.p2p.biz.protocol.AbstractProtocolBean;

/**
 * 协议servcei
 * 
 * @author qj
 */
public interface BorrowProtocolService {

	/**
	 * 借款人协议下载
	 * 
	 * @param borrowId
	 * @param userId
	 * @return
	 */
	AbstractProtocolBean buildBorrowerProtocol(long borrowId, long userId);

	/**
	 * 投资人协议下载
	 * 
	 * @param tenderId
	 * @return
	 */
	AbstractProtocolBean buildTenderProtocol(long tenderId);

}
